ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 12 - No. 16)

What is the outcome when a `CASE OF` statement encounters a scenario not explicitly defined in the `CASE OF` structure, and no 'otherwise' case exists?
The program continues to the next set of instructions.
An error or undefined behavior occurs.
The first case is executed.
The last case is executed.

Giải thích

When there's no matching case and no 'otherwise,' the program's behavior becomes undefined (can lead to errors).

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc